From: Andreas Beckmann Date: Fri, 15 Oct 2021 16:22:36 +0000 (+0100) Subject: the pocl cl extensions are not yet in the upstream cl headers X-Git-Tag: archive/raspbian/1.8-1+rpi1^2~1 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/%22mailto:kde%40ewsoftware.de/%22style.css/%22node%24level1.%24level2.html//%22mailto:info%40bibletime.de%22/%22http:/www.example.com/%22mailto:kde%40ewsoftware.de/%22style.css/%22node%24level1.%24level2.html/%22mailto:info%40bibletime.de%22?a=commitdiff_plain;h=53e9351713dfc23533c82eb706c628f7a20bebad;p=pocl.git the pocl cl extensions are not yet in the upstream cl headers Forwarded: no-needed Gbp-Pq: Name cl_ext_pocl.patch --- diff --git a/lib/CL/pocl_cl.h b/lib/CL/pocl_cl.h index 14635df..dbe7fde 100644 --- a/lib/CL/pocl_cl.h +++ b/lib/CL/pocl_cl.h @@ -61,6 +61,7 @@ typedef pthread_t pocl_thread_t; #include "pocl_hash.h" #include "pocl_runtime_config.h" #include "common.h" +#include "_CL/cl_ext_pocl.h" #if __STDC_VERSION__ < 199901L # if __GNUC__ >= 2 diff --git a/tests/runtime/test_cl_pocl_content_size.c b/tests/runtime/test_cl_pocl_content_size.c index 638f0bf..169d5a1 100644 --- a/tests/runtime/test_cl_pocl_content_size.c +++ b/tests/runtime/test_cl_pocl_content_size.c @@ -25,6 +25,7 @@ #include #include #include +#include <_CL/cl_ext_pocl.h> #define SRC_CHAR 1 #define DST_CHAR 2